13. Adapters and RecyclerView

Quiz: On Adapters and RecyclerView

What is the Adapter responsible for? Place a check next to each statement that is true:

SOLUTION:
  • Creating a ViewHolder object for each RecyclerView item.
  • Returning the number of items in the data source
  • Binding data from the data source to each item
  • Inflating each item view that will be displayed